package com.ks.fission.controller;


import com.ks.core.base._ControllerBase;
import com.ks.core.core.Result;
import com.ks.core.dto.SearchCriteriaBase;
import com.ks.fission.service.IBFissionTaskMemberService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

/**
 * <p>
 * 裂变-会员分享记录 前端 * </p>
 *
 * @author kingdee123
 * @since 2020-12-21
 */
@RestController
@RequestMapping("/bFissionTaskMember")
@Api(value = "管理端会员分享记录模块", description = "管理端会员分享记录模块")
public class BFissionTaskMemberController extends _ControllerBase {

    @Resource
    private IBFissionTaskMemberService ibFissionTaskMemberService;

    @PostMapping("/issueBFissionTask")
    @ApiOperation(value = "会员分享记录清单查询", notes = "查询条件：tenantID createUserID createTime ；分页条件")
    public Object issueBFissionTask(@RequestBody SearchCriteriaBase searchCriteriaBase) {
        Map<String,Object> resultMap=ibFissionTaskMemberService.selectIBFissionTaskMember(getContext(),searchCriteriaBase);
        return Result.success(resultMap);
    }
}

